package com.recruit.g1.basic.service;

import com.recruit.g1.basic.pojo.po.AreaPO;
import com.recruit.g1.basic.pojo.vo.AreaVO;
import java.util.List;

public interface AreaService {

    //List<AreaVO> getAreaList(Integer parentId);

    List<AreaVO> tree();

    //不管接口 如何和前端交互 调用业务层逻辑相同的
    //查询省parentId=0 查询市parentId=#{省id} 查询区 parentId#{市id}
    List<AreaVO> getChildren(Integer parentId);

    List<AreaVO> pos2vos(List<AreaPO> provincePos);

}
